import {sum} from './math.js'

document.getElementById("btn").onclick = function(){
  import('./count.js')
    .then((res)=>{console.log(res.default(2,4))})
    .catch((err)=>{console.log(err);})
  console.log(count(1,2));
}


console.log("main.js");
console.log(sum(3,4));

